package com.ruoyi.platform.mapper;

import java.util.List;
import com.ruoyi.platform.domain.TConsumptionRecord;

/**
 * 用户消费明细记录Mapper接口
 * 
 * @author ruoyi
 * @date 2025-08-19
 */
public interface TConsumptionRecordMapper 
{
    /**
     * 查询用户消费明细记录
     * 
     * @param consumptionRecordId 用户消费明细记录主键
     * @return 用户消费明细记录
     */
    public TConsumptionRecord selectTConsumptionRecordByConsumptionRecordId(Long consumptionRecordId);

    /**
     * 查询用户消费明细记录列表
     * 
     * @param tConsumptionRecord 用户消费明细记录
     * @return 用户消费明细记录集合
     */
    public List<TConsumptionRecord> selectTConsumptionRecordList(TConsumptionRecord tConsumptionRecord);

    /**
     * 新增用户消费明细记录
     * 
     * @param tConsumptionRecord 用户消费明细记录
     * @return 结果
     */
    public int insertTConsumptionRecord(TConsumptionRecord tConsumptionRecord);

    /**
     * 修改用户消费明细记录
     * 
     * @param tConsumptionRecord 用户消费明细记录
     * @return 结果
     */
    public int updateTConsumptionRecord(TConsumptionRecord tConsumptionRecord);

    /**
     * 删除用户消费明细记录
     * 
     * @param consumptionRecordId 用户消费明细记录主键
     * @return 结果
     */
    public int deleteTConsumptionRecordByConsumptionRecordId(Long consumptionRecordId);

    /**
     * 批量删除用户消费明细记录
     * 
     * @param consumptionRecordIds 需要删除的数据主键集合
     * @return 结果
     */
    public int deleteTConsumptionRecordByConsumptionRecordIds(Long[] consumptionRecordIds);
}
